<template>
  <a-card>
    <div class="title_box">
      <span class="mainheading">配置信息</span>
    </div>
    <div class="card_box">
      <div class=""></div>
      <a-form :model="{}" :style="{ width: '1800px' }" layout="inline">
        <a-form-item label="通信方式">
          <a-input v-model="equipmentStore.$state.confInfoData.devTxTypeName" disabled />
        </a-form-item>
        <a-form-item label="传输协议">
          <a-input v-model="equipmentStore.$state.confInfoData.devDataTypeName" disabled />
        </a-form-item>
        <a-form-item label="心跳包">
          <a-input v-model="equipmentStore.$state.confInfoData.devHeart" disabled placeholder="请输入心跳包" />
        </a-form-item>
      </a-form>
      <!-- <div class="btn_box">
        <a-button type="primary">提交</a-button>
      </div> -->
    </div>
  </a-card>
</template>

<script lang="ts">
import { defineComponent } from 'vue'
export default defineComponent({
  name: 'confInfoCard'
})
</script>
<script lang="ts" setup>
// 引入
import { useEquipmentStore } from '@/store'
const equipmentStore = useEquipmentStore()
</script>

<style lang="scss" scoped>
.card_box {
  display: flex;
  flex-direction: row;
}

.title_box {
  font-weight: 900;
  font-size: 1.2em;
  line-height: 1.5;
  margin-bottom: 10px;
}
</style>
